package com.zwq.service;

import com.zwq.pojo.dto.UserDto;
import com.zwq.pojo.request.user.*;

import java.util.Map;

public interface UserService {
    UserDto loginByPassword(String username, String password);
    UserDto loginByEmail(String email, String code);
    Map<String, String> getWechatQr();
    UserDto checkWechatLogin(String code, String state);
    void sendEmailCode(String email);

    UserDto register(UserRegisterRequest request);

    UserDto getProfile(Long userId);
    UserDto updateProperty(Long userId, UserDto userDto);
}